package com.example.operation.system.util;

import org.springframework.util.DigestUtils;

public class Md5Util {

    /**|
     * Md5加密
     * @param str
     * @return
     */
    public static String encryptMd5(String str){
        return DigestUtils.md5DigestAsHex(str.getBytes());
    }
}
